package com.ihisomp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 角色信息
 * </p>
 *
 * @author zy
 * @since 2022-04-12
 */
@TableName("t_org_role")
public class OrgRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色主键
     */
    @TableId(value = "role_key", type = IdType.INPUT)
    private String roleKey;

    /**
     * 所属机构主键
     */
    private String orgKey;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 拼音
     */
    private String py;

    /**
     * 英文名称
     */
    private String roleNameEn;

    /**
     * 排序号
     */
    private Integer seqNo;

    /**
     * 备注
     */
    private String note;

    public String getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }
    public String getOrgKey() {
        return orgKey;
    }

    public void setOrgKey(String orgKey) {
        this.orgKey = orgKey;
    }
    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
    public String getPy() {
        return py;
    }

    public void setPy(String py) {
        this.py = py;
    }
    public String getRoleNameEn() {
        return roleNameEn;
    }

    public void setRoleNameEn(String roleNameEn) {
        this.roleNameEn = roleNameEn;
    }
    public Integer getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }
    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "OrgRole{" +
            "roleKey=" + roleKey +
            ", orgKey=" + orgKey +
            ", roleName=" + roleName +
            ", py=" + py +
            ", roleNameEn=" + roleNameEn +
            ", seqNo=" + seqNo +
            ", note=" + note +
        "}";
    }
}
